package com.ruoyi.invoice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 凭证字对象 voucher_word
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class VoucherWord
{
    private static final long serialVersionUID = 1L;

    /** 凭证字ID */
    @TableId(type = IdType.AUTO)
    private Long wordId;

    /** 凭证字 */
    @Excel(name = "凭证字")
    @Size(min = 1, max = 1, message = "凭证字长度不能超过1个字符")
    @NotBlank(message = "凭证字不能为空")
    private String wordName;

    /** 显示标题 */
    @Excel(name = "显示标题")
    @NotBlank(message = "显示标题不能为空")
    private String displayTitle;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;


    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer isDeleted;


}
